package com.yami.shop.distribution.api.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
/**
 * @author yami
 */
@Data
public class DistributionWithdrawCashSaceParam {

    @Schema(description = "提现金额", required = true)
    @NotNull(message = "{yami.distribution.cash.param1}")
    @Min(value = 1, message = "{yami.distribution.cash.param2}")
    private Double amount;

}
